package com.zg.common.core.dao.system;

import com.zg.common.core.dao.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.sql.Timestamp;

/**
 * 请求日志定义
 * @author Zxb
 */
@Data
public class SysLog extends BaseEntity {

    @ApiModelProperty(value = "请求ip")
    private String requestIp;
    @ApiModelProperty(value = "操作名称")
    private String opName;
    @ApiModelProperty(value = "操作类型")
    private String opType;
    @ApiModelProperty(value = "操作模块")
    private String opModule;
    @ApiModelProperty(value = "浏览器")
    private String browser;
    @ApiModelProperty(value = "操作系统")
    private String os;
    @ApiModelProperty(value = "HTTP方法")
    private String httpMethod;
    @ApiModelProperty(value = "请求路径")
    private String requestUri;
    @ApiModelProperty(value = "类名")
    private String className;
    @ApiModelProperty(value = "方法名")
    private String methodName;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "TOKEN")
    private String token;
    @ApiModelProperty(value = "请求时间")
    private Timestamp requestTime;
    @ApiModelProperty(value = "请求参数")
    private String requestParam;
    @ApiModelProperty(value = "请求结果")
    private String requestResult;
    @ApiModelProperty(value = "异常信息")
    private String expInfo;
    @ApiModelProperty(value = "请求耗时")
    private Long spend;
    @ApiModelProperty(value = "请求状态")
    private String state;

}
